package com.ctv.my.customview.BaiajCustomView.fragments;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.ctv.my.customview.R;

/**
 * Created by baiaj on 2017/8/18.
 */

public class ThridBezierFragment extends Fragment{

    private ImageView iv;
    private int imageId;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_bezier,container,false);
        iv = view.findViewById(R.id.bezier_iv_fg);
        iv.setImageResource(imageId);
        return view;
    }

    public void setImageId(int resId){
        imageId = resId;
    }
}
